<template>
	<view class="all">
		<view class="top"></view>
		<view class="content">
			
			<view class="box1">
				校园小助手
			</view>
			<view class="bottom1" @click="jump_1()">
				查询空教室
			</view>
			
			<view class="bottom1" @click="jump_2()">
				查询人员密度
			</view>
			

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {

		},
		methods: {
			jump_1() {
				uni.navigateTo({
					url: '/pages/sclassroom/sclassroom'
				})
			},
			jump_2() {
				uni.navigateTo({
					url: '/pages/timetable/kechengbiao'
				})
			},
			jump_3() {
				uni.navigateTo({
					// url: '/pages/sclassroom/sclassroom',
					url:'/pages/login'
				})
			},
		}
	}
</script>

<style>
	.all{
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100vw;
		height: 100vh;
		align-items: center;
		/* background: rgb(146, 232, 252); */
		background: url('/static/01.png');
		background-size: cover;
	}
	.content{
		display: flex;
		/* justify-content: center; */
		align-items: center;
		flex-direction: column;
		height: 70vh;
		width: 40vh;
		border-radius: 10px;
		background: rgb(200, 200, 200,0.35);
	}
	.box1{
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
		font-size: 5vh;
		font-weight: bold;
		height: 10vh;
		width: 30vh;
		margin-top: 10vh;
	}
	.bottom1{
		display: flex;
		justify-content: center;
		align-items: center;
		background: white;
		height: 10vh;
		width: 30vh;
		margin-top: 10vh;
		border-radius: 10vh;
	}
</style>
